package com.soft.idc.common.service;


import java.util.List;

import com.jfinal.plugin.activerecord.Db;
import com.jfinal.plugin.activerecord.Record;
import com.soft.idc.common.model.IdcAuthTemplate;

public class IdcAuthTemplateService extends IdcAuthTemplate {
	/**
	 * 
	 */
	private static final long serialVersionUID = -1844346575556091206L;

	public static List<Record> loadAuthTemplate() {
		String sql =  "SELECT T.AUTH_ID, T.NAME FROM IDC_AUTH_TEMPLATE T";
		List<Record> result = Db.find(sql);
		return result;
	}
}
